package com.jyhg.core.common.utils
{
	/**
	 * @author lux
	 * @E-mail: 200851401@qq.com
	 * 创建时间：2013-10-14 下午3:52:52
	 * 
	 */
	public class ObjectTools
	{
		public function ObjectTools()
		{
		}
		
		/**
		 *  
		 * @param obj1
		 * @param obj2
		 * @return 
		 * 
		 */		
		public static  function copy(obj1:Object,obj2:Object):*
		{
			for(var str:String in obj1)
			{
				obj2[str] = obj1[str];
			}
//			var xml:XML=describeType(obj1);
			return obj2;
		}
	}
}